//
// Created by augtons on 2022/1/7.
//

#ifndef WINDSWING_GLOBAL_EVENT_H
#define WINDSWING_GLOBAL_EVENT_H

#include "freertos/FreeRTOS.h"
#include "freertos/event_groups.h"

EventGroupHandle_t wifiEventGroup;


#define WIFI_CONNECTED_BIT          BIT(0)
#define IP_GOT_BIT                  BIT(1)

#define GOT_COMPUTER_IP_BIT         BIT(2)
#define GOT_PHONE_IP_BIT            BIT(3)

#define UP_MACHINE_NEEDDATA_BIT     BIT(4)
//#define PHONE_DATA_BIT              BIT(5)

#endif //WINDSWING_GLOBAL_EVENT_H
